package com.antdesignbackend.backend.activiti.reviewer.mapper;

import com.antdesignbackend.backend.activiti.reviewer.entity.Reviewer;
import com.antdesignbackend.backend.activiti.reviewer.entity.entityVo.ReviewerVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 配置审批人
 * @author 不二
 * @email reviewer
 * @date 2020-08-12 11:05:49
 */
@Component
public interface ReviewerMapper extends BaseMapper<Reviewer>{

    List<ReviewerVo> search(@Param(Constants.WRAPPER) QueryWrapper<ReviewerVo> queryWrapper, Page<ReviewerVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<ReviewerVo> queryWrapper);
}
